gtk4.git
19 years agoFix a crash with icon themes
Matthias Clasen [Sat, 2 Dec 2006 19:48:22 +0000 (19:48 +0000)]
Fix a crash with icon themes

19 years agoBug 351678 - Notebooks not with PositionType.Top drawn incorrectly. Patch
Dom Lachowicz [Sat, 2 Dec 2006 16:34:12 +0000 (16:34 +0000)]
Bug 351678 - Notebooks not with PositionType.Top drawn incorrectly. Patch

2006-12-02  Dom Lachowicz <domlachowicz@gmail.com>

* src/modules/engines/ms-windows/msw_style.c: Bug 351678 - Notebooks
not with PositionType.Top drawn incorrectly. Patch by Cody Russell

19 years agoRemove the broken Thai input method and add a functional Thai and Lao
Behdad Esfahbod [Wed, 29 Nov 2006 01:14:04 +0000 (01:14 +0000)]
Remove the broken Thai input method and add a functional Thai and Lao

2006-11-28  Behdad Esfahbod  <behdad@gnome.org>

        Remove the broken Thai input method and add a functional Thai and Lao
        input method by Theppitak Karoonboonyanan. (#81031)

        * modules/input/imthai.c:
        * modules/input/gtkimcontextthai.c:
        * modules/input/gtkimcontextthai.h:
        * modules/input/thai-charprop.c:
        * modules/input/thai-charprop.h:
        Added.

        * modules/input/imthai-broken.c:
        Removed.

        * modules/input/Makefile.am:
        Updated.

19 years agoNotify when the screen changes. Bug #379793.
Christian Persch [Mon, 27 Nov 2006 21:17:19 +0000 (21:17 +0000)]
Notify when the screen changes. Bug #379793.

2006-11-27  Christian Persch  <chpe@cvs.gnome.org>

* gtk/gtkstatusicon.c: Notify when the screen changes. Bug #379793.

19 years agoapplied patch by Colin Leroy for Control+GDK_KP_Left to move one word to
Tim Janik [Mon, 27 Nov 2006 11:51:54 +0000 (11:51 +0000)]
applied patch by Colin Leroy for Control+GDK_KP_Left to move one word to

Mon Nov 27 12:27:06 2006  Tim Janik  <timj@imendio.com>

        * gtk/gtktextview.c: applied patch by  Colin Leroy for
        Control+GDK_KP_Left to move one word to the left, #356255.

19 years agoProtect against NULL widget. (#379503)
Benjamin Berg [Sun, 26 Nov 2006 19:43:12 +0000 (19:43 +0000)]
Protect against NULL widget. (#379503)

2006-11-26  Benjamin Berg  <benjamin@sipsolutions.net>

* gtk/gtkstyle.c: (gtk_default_draw_flat_box): Protect against NULL
  widget. (#379503)

19 years agoMake print dialog work when 'BrowseShortNames Off' is specified in cups
Matthias Clasen [Sat, 25 Nov 2006 05:12:48 +0000 (05:12 +0000)]
Make print dialog work when 'BrowseShortNames Off' is specified in cups

2006-11-25  Matthias Clasen  <mclasen@redhat.com>

        * modules/printbackends/cups/gtkprintbackendcups.c: Make
        print dialog work when 'BrowseShortNames Off' is specified
        in cups configuration. Patch by Tim Waugh.

19 years agoif we can't go up/down, consult gtk_widget_keynav_failed() and leave the
Michael Natterer [Fri, 24 Nov 2006 13:18:55 +0000 (13:18 +0000)]
if we can't go up/down, consult gtk_widget_keynav_failed() and leave the

2006-11-24  Michael Natterer  <mitch@imendio.com>

* gtk/gtktreeview.c (gtk_tree_view_move_cursor_up_down): if we
can't go up/down, consult gtk_widget_keynav_failed() and leave the
widget if it returns FALSE (bug #322640).

19 years agoFix minor typo in docs. (#378632, Hannes Mueller)
Behdad Esfahbod [Thu, 23 Nov 2006 22:10:03 +0000 (22:10 +0000)]
Fix minor typo in docs. (#378632, Hannes Mueller)

2006-11-23  Behdad Esfahbod  <behdad@gnome.org>

        * gtk/gtkmain.c: Fix minor typo in docs. (#378632, Hannes Mueller)

19 years agofix the date of the last commit
Emmanuele Bassi [Wed, 22 Nov 2006 09:13:42 +0000 (09:13 +0000)]
fix the date of the last commit

19 years agog_filename_from_uri() might fail; catch the failure and fall back to the
Emmanuele Bassi [Wed, 22 Nov 2006 09:12:49 +0000 (09:12 +0000)]
g_filename_from_uri() might fail; catch the failure and fall back to the

2006-11-21  Emmanuele Bassi  <ebassi@gnome.org>

* gtk/gtkrecentmanager.c:
(get_uri_shortname_for_display): g_filename_from_uri() might
fail; catch the failure and fall back to the non-local URI
case. (#363437)

19 years agoadd gtk_status_icon_(get|set)_screen
Mark McLoughlin [Sun, 19 Nov 2006 16:23:01 +0000 (16:23 +0000)]
add gtk_status_icon_(get|set)_screen

2006-11-19  Mark McLoughlin  <mark@skynet.ie>

        * gtk/gtk-sections.txt: add gtk_status_icon_(get|set)_screen

19 years agoFixes bug #376502 - multi-screen support for GtkStatusIcon
Mark McLoughlin [Sun, 19 Nov 2006 16:22:23 +0000 (16:22 +0000)]
Fixes bug #376502 - multi-screen support for GtkStatusIcon

2006-11-19  Mark McLoughlin  <mark@skynet.ie>

        Fixes bug #376502 - multi-screen support for GtkStatusIcon

        * gtk/gtkstatusicon.[ch]:
        (gtk_status_icon_set_screen),
        (gtk_status_icon_get_screen): add multi-screen API. Allows
        an app to display an icon on a non-default screen
        (gtk_status_icon_class_init),
        (gtk_status_icon_set_property),
        (gtk_status_icon_get_property): add a "screen" property

        * tests/teststatusicon.c: update to test on multiple screens

19 years agoFix problems with drag cancellation. (#376535, Michael Natterer)
Matthias Clasen [Sat, 18 Nov 2006 04:37:33 +0000 (04:37 +0000)]
Fix problems with drag cancellation. (#376535, Michael Natterer)

2006-11-17  Matthias Clasen  <mclasen@redhat.com>

Fix problems with drag cancellation. (#376535, Michael Natterer)

* gtk/gtkdnd.c (gtk_drag_source_info_destroy): Disconnect signal
handlers before emitting drag-end.
(gtk_drag_end): Disconnect signal handlers before removing
the grab.

19 years agoadd gtk-doc blurb on GtkCellRendererText::edited (#376094)
Mariano Suárez-Alvarez [Thu, 16 Nov 2006 21:35:52 +0000 (21:35 +0000)]
add gtk-doc blurb on GtkCellRendererText::edited (#376094)

2006-11-16  Mariano Suárez-Alvarez <mariano@gnome.org>

* gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_class_init):
add gtk-doc blurb on GtkCellRendererText::edited (#376094)

19 years agodon't use gtk_widget_keynav_failed(). Instead, look at
Michael Natterer [Thu, 16 Nov 2006 14:32:47 +0000 (14:32 +0000)]
don't use gtk_widget_keynav_failed(). Instead, look at

2006-11-16  Michael Natterer  <mitch@imendio.com>

* gtk/gtkradiobutton.c (gtk_radio_button_focus): don't use
gtk_widget_keynav_failed(). Instead, look at gtk-keynav-cursor-only
and gtk-keynav-wrap-around and wrap around, beep or continue outside
the group manually (bug #322640).

19 years agoAdd new infrastructure for notifications of failed keyboard navigation and
Michael Natterer [Thu, 16 Nov 2006 12:56:30 +0000 (12:56 +0000)]
Add new infrastructure for notifications of failed keyboard navigation and

2006-11-16  Michael Natterer  <mitch@imendio.com>

Add new infrastructure for notifications of failed keyboard
navigation and navigation with restricted set of keys.

The patch handles configurable beeping, navigating the GUI with
cursor keys only (as in phone environments), and configurable
wrap-around. Fixes bugs #322640, #70986, #318827, #334726, #334742
and #309291.

* gtk/gtksettings.c: added properties gtk-keynav-cursor-only,
gtk-keynav-wrap-around and gtk-error-bell.

* gtk/gtkwidget.[ch]: added new signal "keynav-failed" and public
API to emit it. Added New function gtk_widget_error_bell() which
looks at the gtk-error-bell setting and calls gdk_window_beep()
accordingly.

* gtk/gtk.symbols: add the new widget symbols.

* gtk/gtkcellrendereraccel.c
* gtk/gtkimcontextsimple.c
* gtk/gtkmenu.c
* gtk/gtknotebook.c: use gtk_widget_error_bell() or look at the
gtk-error-bell setting instead of calling gdk_display_beep()
unconditionally.

* gtk/gtkcombobox.c
* gtk/gtkentry.c
* gtk/gtkiconview.c
* gtk/gtklabel.c
* gtk/gtkmenushell.c
* gtk/gtkspinbutton.c
* gtk/gtktextview.c
* gtk/gtktreeview.c: call gtk_widget_error_bell() on failed keynav.

* gtk/gtkentry.c
* gtk/gtklabel.c
* gtk/gtkrange.c
* gtk/gtktextview.c: consult gtk_widget_keynav_failed() on failed
cursor navigation and leave the widget if it returns FALSE.

* gtk/gtkmenushell.c
* gtk/gtknotebook.c: only wrap around if gtk-keynav-wrap-around
is TRUE.

* gtk/gtkradiobutton.c: ask gtk_widget_keynav_failed() to decide
whether to to wrap-around, and don't select active items on cursor
navigation if gtk-keynav-cursor-only is TRUE. Should look at
gtk-keynav-wrap-around too, will look into that.

19 years agoReturn the URI of the GtkRecentInfo object (upgraded to UTF-8 if needed)
Emmanuele Bassi [Thu, 16 Nov 2006 11:12:12 +0000 (11:12 +0000)]
Return the URI of the GtkRecentInfo object (upgraded to UTF-8 if needed)

2006-11-16  Emmanuele Bassi  <ebassi@gnome.org>

* gtk/gtkrecentmanager.c:
(gtk_recent_info_get_uri_display): Return the URI
of the GtkRecentInfo object (upgraded to UTF-8 if
needed) in case of non-local file. (#351945)

19 years agoApply the tip only if we have a displayable name for the item. (#365031,
Emmanuele Bassi [Thu, 16 Nov 2006 10:10:44 +0000 (10:10 +0000)]
Apply the tip only if we have a displayable name for the item. (#365031,

2006-11-16  Emmanuele Bassi  <ebassi@gnome.org>

* gtk/gtkrecentchoosermenu.c:
(gtk_recent_chooser_menu_add_tip): Apply the tip only
if we have a displayable name for the item. (#365031,
patch by padraig.obriain(at)sun.com)

19 years agoProvide a fast path returning NULL when the limit is set to 0.
Emmanuele Bassi [Thu, 16 Nov 2006 09:57:45 +0000 (09:57 +0000)]
Provide a fast path returning NULL when the limit is set to 0.

2006-11-16  Emmanuele Bassi  <ebassi@gnome.org>

* gtk/gtkrecentmanager.c: Provide a fast path returning
NULL when the limit is set to 0.

* gtk/gtkrecentchooserdefault.c:
* gtk/gtkrecentchoosermenu.c: Add the same fast path
inside the RecentChooser implementation; add a check
in the list clamping code. (#373466 and duplicates)

19 years agoDon't pass NULL to strncpy. (#359537, patch by Carlos Garcia Campos)
Matthias Clasen [Wed, 15 Nov 2006 18:54:43 +0000 (18:54 +0000)]
Don't pass NULL to strncpy. (#359537, patch by Carlos Garcia Campos)

2006-11-15  Matthias Clasen  <mclasen@redhat.com>

* modules/printbackends/cups/gtkprintbackendcups.c (cups_printer_get_options):
Don't pass NULL to strncpy.  (#359537, patch by  Carlos Garcia Campos)

19 years agoadded properties "fill-level", "show-fill-level" and
Michael Natterer [Wed, 15 Nov 2006 12:23:10 +0000 (12:23 +0000)]
added properties "fill-level", "show-fill-level" and

2006-11-15  Michael Natterer  <mitch@imendio.com>

* gtk/gtkrange.[ch]: added properties "fill-level",
"show-fill-level" and "restrict-to-fill-level" and getters/setters
for them. The "fill level" is an additional marker on the range's
trough than can be e.g. used to indicate the amount of
pre-buffering in a range showing the play position of streamed
media. See the embedded API docs for details. Made GtkRangeLayout
a GTypeInstance private struct and removed finalize()
implementation. Fixes bug #349808

* gtk/gtk.symbols: added the new symbols.

19 years agoMake libtool magic robust. (#352795)
Behdad Esfahbod [Tue, 14 Nov 2006 20:06:46 +0000 (20:06 +0000)]
Make libtool magic robust. (#352795)

2006-11-14  Behdad Esfahbod  <behdad@gnome.org>

        * configure.in: Make libtool magic robust. (#352795)

19 years agoplug small memory leak (#370395)
Paolo Borelli [Mon, 13 Nov 2006 20:04:59 +0000 (20:04 +0000)]
plug small memory leak (#370395)

2006-11-13  Paolo Borelli  <pborelli@katamail.com>

* gtk/gtkrc.c (gtk_rc_parse_icon_source): plug small memory
leak (#370395)

19 years agoTranslation updated by Ivar Smolin.
Priit Laes [Sun, 12 Nov 2006 08:37:46 +0000 (08:37 +0000)]
Translation updated by Ivar Smolin.

2006-11-12  Priit Laes  <plaes@cvs.gnome.org>

* et.po: Translation updated by Ivar Smolin.

19 years agodisable don't move cursor case for SELECTION_NONE. (#371756, John Ellis).
Kristian Rietveld [Thu, 9 Nov 2006 17:09:25 +0000 (17:09 +0000)]
disable don't move cursor case for SELECTION_NONE. (#371756, John Ellis).

2006-11-09  Kristian Rietveld  <kris@imendio.com>

* gtk/gtktreeview.c (gtk_tree_view_move_cursor_up_down): disable
don't move cursor case for SELECTION_NONE. (#371756, John Ellis).

19 years agoFix parenthesis confusion.
Carlos Garnacho [Thu, 9 Nov 2006 16:51:05 +0000 (16:51 +0000)]
Fix parenthesis confusion.

2006-11-09  Carlos Garnacho  <carlosg@gnome.org>

        * gtk/gtkpathbar.c (on_slider_unmap): Fix parenthesis confusion.

19 years agoadded, do not leave the scroll timeout running if the slider buttons are
Carlos Garnacho [Wed, 8 Nov 2006 19:46:56 +0000 (19:46 +0000)]
added, do not leave the scroll timeout running if the slider buttons are

2006-11-08  Carlos Garnacho  <carlosg@gnome.org>

        * gtk/gtkpathbar.c (on_slider_unmap): added, do not leave the scroll
        timeout running if the slider buttons are hidden. (#372527)

19 years agoDon't make the "Location" label bold. Bug #372449.
Christian Persch [Wed, 8 Nov 2006 17:09:24 +0000 (17:09 +0000)]
Don't make the "Location" label bold. Bug #372449.

2006-11-08  Christian Persch  <chpe@cvs.gnome.org>

* gtk/gtkfilechooserdefault.c (browse_widgets_create): Don't make
the "Location" label bold. Bug #372449.

19 years agomake non-focused tabs xthickness/ythickness thinner. (#353962)
Carlos Garnacho [Tue, 7 Nov 2006 16:54:34 +0000 (16:54 +0000)]
make non-focused tabs xthickness/ythickness thinner. (#353962)

2006-11-07  Carlos Garnacho  <carlosg@gnome.org>

        * gtk/gtknotebook.c (gtk_notebook_calculate_tabs_allocation): make
        non-focused tabs xthickness/ythickness thinner. (#353962)

19 years agoavoid memory corruption (#357050).
Paolo Borelli [Tue, 7 Nov 2006 15:41:42 +0000 (15:41 +0000)]
avoid memory corruption (#357050).

2006-11-07  Paolo Borelli  <pborelli@katamail.com>

* gtk/gtktextbtree.c (_gtk_text_btree_delete): avoid memory
corruption (#357050).

19 years agoCancel drag when the grab is shadowed. (#122688)
Alexander Larsson [Mon, 6 Nov 2006 17:16:37 +0000 (17:16 +0000)]
Cancel drag when the grab is shadowed. (#122688)

2006-11-06  Alexander Larsson  <alexl@redhat.com>

* gtk/gtkdnd.c: (gtk_drag_begin_internal),
(gtk_drag_source_info_destroy), (gtk_drag_end),
(gtk_drag_grab_notify_cb):
Cancel drag when the grab is shadowed. (#122688)

19 years agoTranslation updated by Ivar Smolin.
Priit Laes [Sun, 5 Nov 2006 08:55:47 +0000 (08:55 +0000)]
Translation updated by Ivar Smolin.

2006-11-05  Priit Laes  <plaes@cvs.gnome.org>

* et.po: Translation updated by Ivar Smolin.

19 years agoupdated hebrew translation
Yair Hershkovitz [Sat, 4 Nov 2006 19:27:44 +0000 (19:27 +0000)]
updated hebrew translation

19 years agoadd arrow-size property to control the minimum size of the arrow, have the
Kristian Rietveld [Wed, 1 Nov 2006 19:15:54 +0000 (19:15 +0000)]
add arrow-size property to control the minimum size of the arrow, have the

2006-11-01  Kristian Rietveld  <kris@imendio.com>

* gtk/gtkcombobox.c (gtk_combo_box_class_init),
(gtk_combo_box_size_request): add arrow-size property to control
the minimum size of the arrow, have the arrow scale up with the
font by default. (#357950).

19 years agoTranslation updated by Ivar Smolin.
Priit Laes [Wed, 1 Nov 2006 17:36:32 +0000 (17:36 +0000)]
Translation updated by Ivar Smolin.

2006-11-01  Priit Laes  <plaes@cvs.gnome.org>

* et.po: Translation updated by Ivar Smolin.

19 years agodon't forget to queue a draw for the new cursor node. (Fixes #366548,
Kristian Rietveld [Mon, 30 Oct 2006 22:07:50 +0000 (22:07 +0000)]
don't forget to queue a draw for the new cursor node. (Fixes #366548,

2006-10-30  Kristian Rietveld  <kris@gtk.org>

* gtk/gtktreeview.c (gtk_tree_view_move_cursor_page_up_down): don't
forget to queue a draw for the new cursor node. (Fixes #366548,
reported by Sven Herzberg).

19 years agoconsume the Escape key only if we actually cancel a drag. Fixes bug
Michael Natterer [Mon, 30 Oct 2006 13:39:34 +0000 (13:39 +0000)]
consume the Escape key only if we actually cancel a drag. Fixes bug

2006-10-30  Michael Natterer  <mitch@imendio.com>

* gtk/gtkrange.c (gtk_range_key_press): consume the Escape key
only if we actually cancel a drag. Fixes bug #58389.

19 years agochange left/right keybindings to collapse/expand rows instead of moving
Kristian Rietveld [Mon, 30 Oct 2006 12:43:15 +0000 (12:43 +0000)]
change left/right keybindings to collapse/expand rows instead of moving

2006-10-30  Kristian Rietveld  <kris@gtk.org>

* gtk/gtktreeview.c (gtk_tree_view_class_init): change left/right
keybindings to collapse/expand rows instead of moving the focus
cursor. (#105895, Brian Bober and others).

19 years agoguard against child removal in row-expanded callback. (#366782, John
Kristian Rietveld [Sun, 29 Oct 2006 15:49:50 +0000 (15:49 +0000)]
guard against child removal in row-expanded callback. (#366782, John

2006-10-29  Kristian Rietveld  <kris@gtk.org>

* gtk/gtktreeview.c (gtk_tree_view_real_expand_row): guard against
child removal in row-expanded callback. (#366782, John Ellis).

19 years agoImplement for B&W cursors, for instance the built-in GDK ones.
Tor Lillqvist [Sun, 29 Oct 2006 00:17:11 +0000 (00:17 +0000)]
Implement for B&W cursors, for instance the built-in GDK ones.

2006-10-29  Tor Lillqvist  <tml@novell.com>

* gdk/win32/gdkcursor-win32.c
(gdk_win32_icon_to_pixbuf_libgtk_only): Implement for B&W cursors,
for instance the built-in GDK ones.

19 years agoImprove handling of the small icon of the window class. (#152620, Kazuki
Tor Lillqvist [Sat, 28 Oct 2006 23:58:30 +0000 (23:58 +0000)]
Improve handling of the small icon of the window class. (#152620, Kazuki

2006-10-29  Tor Lillqvist  <tml@novell.com>

* gdk/win32/gdkwindow-win32.c (RegisterGdkClass): Improve handling
of the small icon of the window class. (#152620, Kazuki Iwamoto)

19 years agopixbufloader_*.def Remove pixbufloader_*.def, they are not used. (#365388)
Tor Lillqvist [Sat, 28 Oct 2006 23:37:18 +0000 (23:37 +0000)]
pixbufloader_*.def Remove pixbufloader_*.def, they are not used. (#365388)

2006-10-29  Tor Lillqvist  <tml@novell.com>

* pixbufloader_*.def
* Makefile.am (EXTRA_DIST): Remove pixbufloader_*.def, they are
not used. (#365388) They were all identical, and exported just two
symbols, so if somebody needs them for a MSVC build that doesn't
use built-in modules it's trivial to hack makefile.msc to produce
a common .def file for the loaders. The two symbols that need to
be exported are fill_info and fill_vtable.

19 years agorework the area_above == 0 case to not overwrite the variables in the
Kristian Rietveld [Fri, 27 Oct 2006 19:59:16 +0000 (19:59 +0000)]
rework the area_above == 0 case to not overwrite the variables in the

2006-10-27  Kristian Rietveld  <kris@gtk.org>

* gtk/gtktreeview.c (validate_visible_area): rework the area_above == 0
case to not overwrite the variables in the lower scope (which are
used later on ...), get the path correctly and bail out when there
isn't a node above us. (#359231).

19 years agoPut initial focus on Close button (#337261).
Christian Persch [Thu, 26 Oct 2006 12:21:41 +0000 (12:21 +0000)]
Put initial focus on Close button (#337261).

2006-10-26  Christian Persch  <chpe@cvs.gnome.org>

* gtk/gtkaboutdialog.c: Put initial focus on Close button (#337261).

19 years agoAdd missing symbols so make check passes.
Johan Dahlin [Wed, 25 Oct 2006 16:13:41 +0000 (16:13 +0000)]
Add missing symbols so make check passes.

* gtk/gtk.symbols: Add missing symbols so make check passes.

19 years agoIgnore files added by make check
Johan Dahlin [Wed, 25 Oct 2006 16:05:01 +0000 (16:05 +0000)]
Ignore files added by make check

19 years agoTranslation updated by Ivar Smolin.
Priit Laes [Tue, 24 Oct 2006 19:41:58 +0000 (19:41 +0000)]
Translation updated by Ivar Smolin.

2006-10-24  Priit Laes  <plaes@cvs.gnome.org>

* et.po: Translation updated by Ivar Smolin.

19 years agoTranslation updated by Ivar Smolin.
Priit Laes [Mon, 23 Oct 2006 21:13:12 +0000 (21:13 +0000)]
Translation updated by Ivar Smolin.

2006-10-24  Priit Laes  <plaes@cvs.gnome.org>

* et.po: Translation updated by Ivar Smolin.

19 years agoRemember to free GDI Pen resources, introduced by bug 340201.(#364514)
Dom Lachowicz [Mon, 23 Oct 2006 20:24:31 +0000 (20:24 +0000)]
Remember to free GDI Pen resources, introduced by bug 340201.(#364514)

2006-10-23  Dom Lachowicz <domlachowicz@gmail.com>

        * src/modules/engines/ms-windows/msw_style.c (draw_expander): Remember
        to free GDI Pen resources, introduced by bug 340201.(#364514)

19 years agoUpdated Slovenian translation.
Matic Zgur [Sun, 22 Oct 2006 16:08:47 +0000 (16:08 +0000)]
Updated Slovenian translation.

2006-10-22  Matic Zgur  <mr.zgur@gmail.com>

* sl.po: Updated Slovenian translation.

19 years agoUpdated French translation.
Christophe Merlet [Sun, 22 Oct 2006 09:39:00 +0000 (09:39 +0000)]
Updated French translation.

19 years agoUpdated Catalan translation.
Josep Puigdemont i Casamajó [Sat, 21 Oct 2006 22:04:37 +0000 (22:04 +0000)]
Updated Catalan translation.

19 years agoconnect to notify::popup-shown instead of popup-show (the latter does not
Kristian Rietveld [Wed, 18 Oct 2006 12:06:42 +0000 (12:06 +0000)]
connect to notify::popup-shown instead of popup-show (the latter does not

2006-10-18  Kristian Rietveld  <kris@imendio.com>

* tests/testcombo.c (main): connect to notify::popup-shown instead of
popup-show (the latter does not exist).

19 years agoplug memory leak. Fixes bug #362439.
Paolo Borelli [Sun, 15 Oct 2006 22:58:08 +0000 (22:58 +0000)]
plug memory leak. Fixes bug #362439.

2006-10-15  Paolo Borelli  <pborelli@katamail.com>

* gtk/gtkicontheme.c (pixbuf_supports_svg): plug memory leak.
Fixes bug #362439.

19 years agoUpdated Spanish translation.
Francisco Javier F. Serrador [Sun, 15 Oct 2006 00:23:12 +0000 (00:23 +0000)]
Updated Spanish translation.

2006-10-15  Francisco Javier F. Serrador  <serrador@openshine.com>

* es.po: Updated Spanish translation.

19 years agoTranslation updated by Kelemen Gábor.
Gabor Kelemen [Fri, 13 Oct 2006 19:26:11 +0000 (19:26 +0000)]
Translation updated by Kelemen Gábor.

2006-10-13  Gabor Kelemen  <kelemeng@gnome.hu>

* hu.po: Translation updated by Kelemen Gábor.

19 years agofix commit below (committed the wrong patch).
Michael Natterer [Thu, 12 Oct 2006 13:48:07 +0000 (13:48 +0000)]
fix commit below (committed the wrong patch).

2006-10-12  Michael Natterer  <mitch@imendio.com>

* gtk/gtkcombobox.c (gtk_combo_box_class_init): fix commit below
(committed the wrong patch).

19 years agoadded "move-active" and "popup" signals and bindings to trigger them.
Michael Natterer [Thu, 12 Oct 2006 13:04:44 +0000 (13:04 +0000)]
added "move-active" and "popup" signals and bindings to trigger them.

2006-10-12  Michael Natterer  <mitch@imendio.com>

* gtk/gtkcombobox.c: added "move-active" and "popup" signals and
bindings to trigger them. Removed gtk_combo_box_key_press(), it's
obsolete now. Fixes bug #358293.

19 years agogdkpixmap-directfb.c: add missing RGB24 case (#361176)
Michael David Emmel [Wed, 11 Oct 2006 15:42:35 +0000 (15:42 +0000)]
gdkpixmap-directfb.c: add missing RGB24 case (#361176)

19 years agoEnable having some gdk-pixbuf loaders built-in even if loading the others
Tor Lillqvist [Wed, 11 Oct 2006 12:41:14 +0000 (12:41 +0000)]
Enable having some gdk-pixbuf loaders built-in even if loading the others

2006-10-11  Tor Lillqvist  <tml@novell.com>

* configure.in: Enable having some gdk-pixbuf loaders built-in
even if loading the others dynamically. Define Automake
conditional INCLUDE_FOO for each loader as TRUE if that loader is
built-in. See also gdk-pixbuf/ChangeLog.

2006-10-11  Tor Lillqvist  <tml@novell.com>

Enable having some loaders built-in even if loading the others
dynamically. Have loaders in the same order as in configure.in in
all places where they are handled/listed.

* Makefile.am: Define the STATIC_FOO_LIB and FOO_LIB macros
conditionally depending on whether said loader is built-in or
not. Use the names libstatic-pixbufloader-foo.la instead of
libpixbufloader-static-foo.la for the built-in ones so that the
"echo libpixbufloader-*.la" won't match them.

* gdk-pixbuf-io.c: Reorganize code as to plumb the built-in
loaders also if USE_GMODULE. Don't warn about a missing
gdk-pixbuf.loaders file if we have at least one included loader.

* gdk-pixbuf-private.h
* io-*.c: Don't define a generic MODULE_ENTRY, as we can't use it
in the loaders anyway. Each loader needs to check if INCLUDE_foo
is defined.

19 years agodocument gtk_binding_entry_skip().
Tim Janik [Wed, 11 Oct 2006 12:32:26 +0000 (12:32 +0000)]
document gtk_binding_entry_skip().

Wed Oct 11 14:31:30 2006  Tim Janik  <timj@imendio.com>

        * docs/reference/gtk/gtk-sections.txt:
        * gtk/gtkbindings.c: document gtk_binding_entry_skip().

19 years agoRemove gtk_combo_string_key, which is a static variable.
Tor Lillqvist [Tue, 10 Oct 2006 21:55:29 +0000 (21:55 +0000)]
Remove gtk_combo_string_key, which is a static variable.

2006-10-11  Tor Lillqvist  <tml@novell.com>

* gtk/gtk.symbols: Remove gtk_combo_string_key, which is a static
variable.

19 years agoMerge from 2.10 branch:
Tor Lillqvist [Tue, 10 Oct 2006 21:51:11 +0000 (21:51 +0000)]
Merge from 2.10 branch:

2006-10-11  Tor Lillqvist  <tml@novell.com>

Merge from 2.10 branch:

* gtk/gtkmain.c (do_pre_parse_initialization): On Win32, if
environment variable LC_ALL or LANG is set, set the Win32 thread
locale to the corresponding locale. Then call the C library
setlocale() to set the C library locale accordingly. The
inconsistency mentioned below is gone. (#339756) Do some special
casing for Serbia and Montenegro. Handle the Latin and Cyrillic
scripts for Azeri, Uzbek and Serbian.
(enum_locale_proc): Helper function for the above functionality.

* gtk/gtkcalendar.c (gtk_calendar_init): No longer need to check
if the environment variables are set here, as they have already
been taken into account and the Win32 thread locale has been
set.

19 years agoapplied patch from Michael Natterer to move to inline docs. applied
Tim Janik [Tue, 10 Oct 2006 14:40:50 +0000 (14:40 +0000)]
applied patch from Michael Natterer to move to inline docs. applied

Tue Oct 10 16:38:23 2006  Tim Janik  <timj@imendio.com>

        * gtk/tmpl/gtkbindings.sgml:
        * gtk/gtkbindings.c: applied patch from Michael Natterer to move to
        inline docs. applied wording fixes suggested by Martyn Russell.

19 years agodocumented GtkBinding*, #358329.
Tim Janik [Tue, 10 Oct 2006 13:30:55 +0000 (13:30 +0000)]
documented GtkBinding*, #358329.

Tue Oct 10 15:29:15 2006  Tim Janik  <timj@imendio.com>

        * gtk/tmpl/gtkbindings.sgml: documented GtkBinding*, #358329.

19 years agoUpdate the docs to state which out parameters may be NULL. (#360870,
Matthias Clasen [Mon, 9 Oct 2006 14:36:16 +0000 (14:36 +0000)]
Update the docs to state which out parameters may be NULL. (#360870,

2006-10-09  Matthias Clasen  <mclasen@redhat.com>

        * gdk/x11/gdkkeys-x11.c (gdk_keymap_translate_keyboard_state):
        Update the docs to state which out parameters may be NULL.
        (#360870, Attilio Fiandrotti)

19 years agoFix a typo. (#359542, Ghee Teo)
Matthias Clasen [Sun, 8 Oct 2006 19:39:15 +0000 (19:39 +0000)]
Fix a typo. (#359542, Ghee Teo)

2006-10-08  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkprintunixdialog.c (update_dialog_from_capabilities): Fix
a typo.  (#359542, Ghee Teo)

19 years agoOnly reorder tabs if the focus is in the tab. (#350342, Carlos Garnacho
Matthias Clasen [Sun, 8 Oct 2006 19:00:31 +0000 (19:00 +0000)]
Only reorder tabs if the focus is in the tab. (#350342, Carlos Garnacho

2006-10-08 Matthias Clasen <mclasen@redhat.com>

* gtk/gtknotebook.c (gtk_notebook_reorder_tab): Only
reorder tabs if the focus is in the tab.  (#350342, Carlos
Garnacho Parro)

19 years agoFix for bug 3575611 strdup property name so it can be freed
Michael David Emmel [Sun, 8 Oct 2006 14:54:24 +0000 (14:54 +0000)]
Fix for bug 3575611 strdup property name so it can be freed

19 years agoadd getter/setter for show-expanders property, queue a redraw when this
Kristian Rietveld [Sun, 8 Oct 2006 14:36:20 +0000 (14:36 +0000)]
add getter/setter for show-expanders property, queue a redraw when this

2006-10-08  Kristian Rietveld  <kris@gtk.org>

* gtk/gtktreeview.[ch] (gtk_tree_view_set_property),
(gtk_tree_view_set_show_expanders),
(gtk_tree_view_get_show_expanders): add getter/setter for
show-expanders property, queue a redraw when this property
is toggled (#351167, Martin Ejdestig),
(gtk_tree_view_set_level_indentation),
(gtk_tree_view_get_level_indentation): also add getter/setter
and docs for level-indentation property.

19 years agofix the build
Matthias Clasen [Sun, 8 Oct 2006 14:09:39 +0000 (14:09 +0000)]
fix the build

19 years agoCleanups
Matthias Clasen [Sun, 8 Oct 2006 05:32:07 +0000 (05:32 +0000)]
Cleanups

19 years agoApply a cleanup patch by Kjartan Maraas (#341812)
Matthias Clasen [Sun, 8 Oct 2006 05:07:55 +0000 (05:07 +0000)]
Apply a cleanup patch by Kjartan Maraas (#341812)

2006-10-08  Matthias Clasen  <mclasen@redhat.com>

* Apply a cleanup patch by Kjartan Maraas  (#341812)

19 years agoUse the Win32 thread locale's first day of week setting on Win32.
Tor Lillqvist [Sat, 7 Oct 2006 21:32:53 +0000 (21:32 +0000)]
Use the Win32 thread locale's first day of week setting on Win32.

2006-10-07  Tor Lillqvist  <tml@novell.com>

* gtk/gtkcalendar.c (gtk_calendar_init): Use the Win32 thread
locale's first day of week setting on Win32. (#339752, Bogdan
Nicula) Don't do this if one of the environment variables that
affect gettext is set, though. In that case use the week start day
from the corresponding message catalog.

Unfortunately the same logic isn't possible in the weekday and
month name lookup; there even if you have set one of the
aforementioned environment variables, you still get the weekday
and month names from the Win32 thread locale. Yes, this is
inconsistent.

Use only wide-character API in the Win32 code in this file, too.

19 years agoFix the docs. (#360112)
Matthias Clasen [Fri, 6 Oct 2006 19:21:28 +0000 (19:21 +0000)]
Fix the docs. (#360112)

        * gtk/gtkfilechooser.c (gtk_file_chooser_set_select_multiple):
        Fix the docs.  (#360112)

19 years agoDon't set the background of the window in a no-window widget. (#359581,
Matthias Clasen [Fri, 6 Oct 2006 18:41:39 +0000 (18:41 +0000)]
Don't set the background of the window in a no-window widget. (#359581,

2006-10-06  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkcellview.c: Don't set the background of the
        window in a no-window widget.  (#359581, Xan Lopez)

2

19 years agoPropagate srcdir into the test correctly. (#359845)
Behdad Esfahbod [Thu, 5 Oct 2006 15:51:45 +0000 (15:51 +0000)]
Propagate srcdir into the test correctly. (#359845)

2006-10-05  Behdad Esfahbod  <behdad@gnome.org>

        * gtk/Makefile.am, gtk/aliasfilescheck.sh:  Propagate srcdir into the
        test correctly. (#359845)

19 years agoadded new scanner token "unbind" which gets rid of a key binding (in fact,
Michael Natterer [Thu, 5 Oct 2006 14:48:57 +0000 (14:48 +0000)]
added new scanner token "unbind" which gets rid of a key binding (in fact,

2006-10-05  Michael Natterer  <mitch@imendio.com>

* gtk/gtkrc.[ch]: added new scanner token "unbind" which gets
rid of a key binding (in fact, it only lets it appear unbound).

* gtk/gtkbindings.[ch] (struct GtkBindingEntry): added
"guint marks_unbound : 1"

(gtk_binding_entry_skip): new API which marks the entry as unbound.

Changed code so it returns FALSE when "marks_unbound == TRUE" is
encountered while activating bindings, effectively letting the
binding appear unbound (regardless of still existing bindings in
lower binding priority levels). Fixes bug #358329.

(gtk_binding_entry_add)
(gtk_binding_entry_clear)
(gtk_binding_entry_add_signall)
(gtk_binding_parse_binding): deprected these functions.

(_gtk_binding_parse_binding)
(_gtk_binding_entry_add_signall): new internal API.

* gtk/gtk.symbols: changed accordingly.

19 years agoCzech translation updated.
Jakub Friedl [Thu, 5 Oct 2006 11:31:27 +0000 (11:31 +0000)]
Czech translation updated.

2006-10-05  Jakub Friedl  <jfriedl@suse.cz>

  * cs.po: Czech translation updated.

19 years agoFix interaction of GtkEntryCompletion with input methods. (#354495, Diego
Matthias Clasen [Wed, 4 Oct 2006 03:26:34 +0000 (03:26 +0000)]
Fix interaction of GtkEntryCompletion with input methods. (#354495, Diego

2006-10-03  Matthias Clasen  <mclasen@redhat.com>

        Fix interaction of GtkEntryCompletion with input
        methods.  (#354495, Diego Escalante Urrelo)

        * gtk/gtkentry.c (gtk_entry_completion_key_press): Only reset
        the im context if we actually handle the key event.

        * gtk/gtkentrycompletion.c: Also propagate key release events
        to the entry.

19 years agoComplete the fix for bug 357280
Matthias Clasen [Tue, 3 Oct 2006 18:19:15 +0000 (18:19 +0000)]
Complete the fix for bug 357280

19 years agofix a typo
Matthias Clasen [Tue, 3 Oct 2006 18:01:33 +0000 (18:01 +0000)]
fix a typo

19 years agoApply a patch by Behdad Esfahbod to reduce relocations. (#359053)
Matthias Clasen [Tue, 3 Oct 2006 15:54:52 +0000 (15:54 +0000)]
Apply a patch by Behdad Esfahbod to reduce relocations. (#359053)

2006-10-03  Matthias Clasen  <mclasen@redhat.com>

        * gtk/*.c, gdk/*.c: Apply a patch by Behdad Esfahbod to
        reduce relocations. (#359053)

19 years agoComplete the fix for bug 357280.
Matthias Clasen [Tue, 3 Oct 2006 15:05:05 +0000 (15:05 +0000)]
Complete the fix for bug 357280.

2006-10-03  Matthias Clasen  <mclasen@redhat.com>

        * modules/printbackends/cups/gtkprintbackendcups.c: Complete
        the fix for bug 357280.

19 years agoInclude pltcheck.sh in EXTRA_DIST.
Behdad Esfahbod [Mon, 2 Oct 2006 18:02:15 +0000 (18:02 +0000)]
Include pltcheck.sh in EXTRA_DIST.

2006-10-02  Behdad Esfahbod  <behdad@gnome.org>

        * gdk-pixbuf/Makefile.am:
        * gdk/Makefile.am:
        * gtk/Makefile.am:
        Include pltcheck.sh in EXTRA_DIST.

19 years agoMove all includes before including gdkalias.h.
Behdad Esfahbod [Mon, 2 Oct 2006 17:34:17 +0000 (17:34 +0000)]
Move all includes before including gdkalias.h.

2006-10-02  Behdad Esfahbod  <behdad@gnome.org>

        * gdk/x11/gdkevents-x11.c: Move all includes before including
        gdkalias.h.

19 years agoUpdate.
Behdad Esfahbod [Mon, 2 Oct 2006 17:33:08 +0000 (17:33 +0000)]
Update.

19 years agoFix typo in file name. (#358931)
Behdad Esfahbod [Mon, 2 Oct 2006 17:16:14 +0000 (17:16 +0000)]
Fix typo in file name. (#358931)

2006-10-02  Behdad Esfahbod  <behdad@gnome.org>

        * gtk/Makefile.am: Fix typo in file name.  (#358931)

19 years agoOnly use the group name field if cups is new enough. (#357280)
Matthias Clasen [Mon, 2 Oct 2006 05:39:31 +0000 (05:39 +0000)]
Only use the group name field if cups is new enough. (#357280)

2006-10-02  Matthias Clasen  <mclasen@redhat.com>

* modules/printbackends/cups/gtkprintbackendcups.c (available_choices):
Only use the group name field if cups is new enough.  (#357280)

19 years agoMake sure that the quarks are initialized before using them. (#353736)
Matthias Clasen [Mon, 2 Oct 2006 05:22:27 +0000 (05:22 +0000)]
Make sure that the quarks are initialized before using them. (#353736)

2006-10-02  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtksizegroup.c: Make sure that the quarks are
initialized before using them.  (#353736)

19 years agoTranslation updated by Ivar Smolin.
Priit Laes [Mon, 2 Oct 2006 05:11:27 +0000 (05:11 +0000)]
Translation updated by Ivar Smolin.

2006-10-02  Priit Laes  <plaes@cvs.gnome.org>

* et.po: Translation updated by Ivar Smolin.

19 years agoUse rm instead of ln -f to replace existing links. (#354849, James Evans)
Matthias Clasen [Mon, 2 Oct 2006 04:07:58 +0000 (04:07 +0000)]
Use rm instead of ln -f to replace existing links. (#354849, James Evans)

2006-10-02  Matthias Clasen  <mclasen@redhat.com>

* gtk/Makefile.am (stamp-icons): Use rm instead of ln -f to
replace existing links.  (#354849, James Evans)

19 years agoMake the event_window large enough to cover the full height of the
Matthias Clasen [Mon, 2 Oct 2006 03:50:38 +0000 (03:50 +0000)]
Make the event_window large enough to cover the full height of the

2006-10-01  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkexpander.c (gtk_expander_realize)
(gtk_expander_size_allocate): Make the event_window large
enough to cover the full height of the label_widget.  (#358351,
Scott Horowitz)

19 years agoSet model in all cases. (#357791, Andreas Köhler)
Matthias Clasen [Mon, 2 Oct 2006 01:29:24 +0000 (01:29 +0000)]
Set model in all cases. (#357791, Andreas Köhler)

2006-10-01  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtktreeselection.c (gtk_tree_selection_get_selected_rows):
Set model in all cases.  (#357791, Andreas Köhler)

19 years agoSame change as to gtkfilesystemunix.c.
Tor Lillqvist [Sun, 1 Oct 2006 20:10:26 +0000 (20:10 +0000)]
Same change as to gtkfilesystemunix.c.

2006-10-01  Tor Lillqvist  <tml@novell.com>

* gtk/gtkfilesystemwin32.c: Same change as to gtkfilesystemunix.c.

19 years agoProtect against base_path being NULL. (#358405, many reporters)
Matthias Clasen [Sat, 30 Sep 2006 13:30:55 +0000 (13:30 +0000)]
Protect against base_path being NULL. (#358405, many reporters)

2006-09-30  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkfilechooserbutton.c (update_combo_box): Protect
        against base_path being NULL.  (#358405, many reporters)

19 years agoApply a patch by Padraig O'Briain to avoid a deadlock.
Matthias Clasen [Fri, 29 Sep 2006 14:18:22 +0000 (14:18 +0000)]
Apply a patch by Padraig O'Briain to avoid a deadlock.

2006-09-29  Matthias Clasen  <mclasen@redhat.com>
        * gtk/gtkfilesystemunix.c: Apply a patch by Padraig O'Briain
        to avoid a deadlock.

19 years agoTranslation updated by Ivar Smolin.
Priit Laes [Wed, 27 Sep 2006 19:05:27 +0000 (19:05 +0000)]
Translation updated by Ivar Smolin.

2006-09-27  Priit Laes  <plaes@cvs.gnome.org>

* et.po: Translation updated by Ivar Smolin.

19 years agoFix commit dates ...
Kristian Rietveld [Wed, 27 Sep 2006 17:33:40 +0000 (17:33 +0000)]
Fix commit dates ...